package com.example.mapper;
import com.example.pojo.InterviewArrange;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.vo.respvo.InterviewHandle;
import com.example.vo.respvo.Option;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 面试安排表 Mapper 接口
 * </p>
 *
 * @author wsl
 * @since 2022-04-15
 */
@Mapper
@Repository
public interface InterviewArrangeMapper extends BaseMapper<InterviewArrange> {

    /**
     * 获取面试安排分页数据
     * @return
     * @param hr 面试官
     * @param position 面试岗位
     * @param interCycle 面试提起日期
     */
    List<InterviewArrange> selectInterviewArrangePageInfo(
            @Param("hr") Integer hr,
            @Param("position") String position,
            @Param("icy")Integer interCycle);

    /**
     * 查询hr
     * @return
     */
    List<Option> selectHrList();

    /**
     * 获取简历处理集合
     * @return
     */
    List<InterviewHandle> selectInterviewHandleList();
}
